package com.cx.mall.api.goods;

import com.cx.mall.common.model.goods.CategoryDTO;
import com.cx.mall.common.utils.ResponseVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(contextId = "category",value = "mall-goods-service")
public interface CategoryFeign {
    @GetMapping("/goods/category/list")
    ResponseVO<List<CategoryDTO>> list();



}
